package com.moliku.insurance.model.entity.ChongQing;


import javax.xml.bind.annotation.*;
import java.util.ArrayList;

/**
 * @ClassName 赵项阳
 * @Description: TODO
 * @Author DELL
 * @Date 2021/2/27
 * @Version V1.0
 **/
@XmlRootElement(name = "ApplyInfo")
@XmlType(name = "ApplyInfo",propOrder = { "generalInfo","policyInfo"})
@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlSeeAlso({PolicyInfo.class})
public class ApplyInfo {
    @XmlElement(name="GeneralInfo")
    private GeneralInfo generalInfo;

    @XmlElementWrapper(name="PolicyInfos")
    @XmlElement(name = "PolicyInfo")
    private ArrayList<PolicyInfo> policyInfo;

    public ApplyInfo(){

    }



    public GeneralInfo getGeneralInfo() {
        return generalInfo;
    }

    @XmlTransient
    public void setGeneralInfo(GeneralInfo generalInfo) {
        this.generalInfo = generalInfo;
    }




    public ArrayList<PolicyInfo> getPolicyInfo() {
        return policyInfo;
    }

    @XmlTransient
    public void setPolicyInfo(ArrayList<PolicyInfo> policyInfo) {
        this.policyInfo = policyInfo;
    }
}
